{% extends 'base.html' %}

{% block title %}
 - 发布图书
{% endblock %}

{% block content %}
<form action="{% url 'post' %}" method="post">
  <div class="form-group row">
    <label for="name" class="col-sm-2 col-form-label">图书名称</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="name" id="name">
    </div>
  </div>
  <div class="form-group row">
    <label for="author" class="col-sm-2 col-form-label">图书作者</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="author" id="author">
    </div>
  </div>
  <button type="submit" class="btn btn-primary">提交</button>
</form>
{% endblock %}